<?php
include dirname(__FILE__) . '/../class/_core.php';
include dirname(__FILE__) . '/../class/Material.php';

$row=Material::getMaterialsList();

$Smarty->assign('material',$row);
$Smarty->display('material.tpl'); 